/*
 * app config
 * v1.0.1
 * 替换url
 * 2016-02-22
 */
window.appcfg = {};
//product
appcfg.product = false;
//host
appcfg.host = {
	control: appcfg.product ? 'http://openapp.xxx.com' : 'http://rap.taobao.org/mockjsdata/1201',
	source: appcfg.product ? 'http://resource.xxx.com' : 'http://rap.taobao.org/mockjsdata/1201',
	frontend: appcfg.product ? 'http://o2o.xxx.com' : 'http://192.168.129.147:8081',
	backend: appcfg.product ? 'http://admin.xxx.com' : 'http://192.168.129.147:88'
};
//set
appcfg.set = {
	version: "0.0.1",
	outime: 5000,
	longtime: 15000,
	animateDuration: 300,
	safeStorage: "user,appInit,resRoot,websiteConfig"
};
//ajax
appcfg.ajax={
	crypto : {
		enable: false,
		key: "jerehjereijerehjerei1234",
		url: appcfg.host.control + "/core/service/app/common_control.jsp"
	},
	offline: {
		expires:6e4,
		password: "123qwe",
		path: "wgt://offlinedata/",
		indexKey: "offlineIndex"
	},
	combo: {
		url: appcfg.host.control + "/test/combo.php",
		dataName: "paramArray"
	}
};
//icache
appcfg.icache = {
	path:"wgt://icache/",
	maxtask:3
};
//log
appcfg.log = {
	path: "wgt://log.txt"
};
//project
appcfg.project = {
	sid: "89",
	hasAlbum: false
};
//theme
appcfg.defaultTheme = {
	body_bg: '#f0f0f0',
	primary: '#337ab7',
	sub_primary: '#337ab7',
	heav_primary: '#286090',
	success: '#3c763d',
	sub_success: '#dff0d8',
	heav_success: '#449d44',
	info: '#777',
	sub_info: '#d9edf7',
	heav_info: '#31b0d5',
	warning: '#f08400',
	sub_warning: '#fcf8e3',
	heav_warning: '#ec971f',
	danger: '#d33835',
	sub_danger: '#f2dede',
	heav_danger: '#c9302c',
	reverse: '#fff',
	radius: '2px'
};
//plugin
appcfg.plugin = {
	bdmap: {
		key: "D1DX6yGc5HGh28jtaAwNzcBi",
		zoomLeval: 14
	},
	xgpush: {
		AndroidAccessid: 2100180679,
		AndroidKey: "AV531WJJ7Z8C",
		iOSAccessid: 2200180680,
		iOSKey: "I8555T3NAKPK"
	}
};